Skip to content

fix(ci): quote the real version in the upgrade snippet - #5

Merged
flaccid merged 1 commit into
mainfrom
ci/release-notes-version
Aug 25, 2026
Merged

fix(ci): quote the real version in the upgrade snippet#5
flaccid merged 1 commit into
mainfrom
ci/release-notes-version

Conversation

@flaccid

@flaccid flaccid commented Aug 25, 2026

Copy link
Copy Markdown
Member

The release-notes generator derives the version from --to, which is HEAD when
notes are generated before the tag exists. So the upgrade command in published
notes rendered:

helm upgrade ... --version HEAD --namespace kube-workspaces-system

Pass the release version explicitly. The generator still falls back to --to,
which is correct when --to is a tag.

Caught on kube-workspaces/deploy v0.2.2, the first fully-automated release. Its
notes have been corrected by hand; from the next release this is unattended.

The release notes derive the version from --to, which is HEAD when notes are
generated before the tag exists, so the upgrade command rendered:

  helm upgrade ... --version HEAD

Pass the release version explicitly. The generator still falls back to --to,
which is correct when --to is a tag.

Verified in kube-workspaces/deploy, whose v0.2.2 notes hit this.
@flaccid flaccid added bug Something isn't working ci CI, build and release tooling labels Aug 25, 2026
@flaccid
flaccid merged commit d23fcc5 into main Aug 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci CI, build and release tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant